package com.cmc.cloud.cmclink.doc.constants.errorconstant;


import com.cmc.cloud.cmclink.doc.api.document.emums.OptTpEnum;
import com.cmes.framework.common.exception.ErrorCode;

/**
 * {table.classComment}错误码常量类
 *
 * @author codegen
 */
public class AgentContactErrorCodeConstants {

    public static final ErrorCode AGENT_CONTACT_NOT_EXISTS = new ErrorCode(1004002001, "航线进出口联系人信息不存在");
    public static final ErrorCode AGENT_CONTACT_EXISTED = new ErrorCode(1004002002, "航线进出口联系人信息已存在");
    public static final ErrorCode AGENT_MCN_PORT_EXISTED = new ErrorCode(1004002003, OptTpEnum.FCN_MCN.getLabel()+"，港口{0}记录已存在");
    public static final ErrorCode AGENT_MCN_LANE_EXISTED = new ErrorCode(1004002004, OptTpEnum.FCN_MCN.getLabel()+"，港口{0},航线{}记录已存在");
    public static final ErrorCode AGENT_VOYAGE_NOTICE_PORT_EXISTED = new ErrorCode(1004002005, OptTpEnum.VOYAGE_NOTICE.getLabel()+"，港口{0}记录已存在");
    public static final ErrorCode AGENT_VOYAGE_NOTICE_LANE_EXISTED = new ErrorCode(1004002006, OptTpEnum.VOYAGE_NOTICE.getLabel()+"，港口{0},航线{1}记录已存在");
    public static final ErrorCode AGENT_CALCULATE_NOTICE_PORT_EXISTED = new ErrorCode(1004002007, OptTpEnum.CALCULATE_NOTICE.getLabel()+"，港口{0}记录已存在");
    public static final ErrorCode AGENT_CALCULATE_NOTICE_LANE_EXISTED = new ErrorCode(1004002008, OptTpEnum.CALCULATE_NOTICE.getLabel()+"，港口{0},航线{1}记录已存在");
    public static final ErrorCode AGENT_PORT_NOT_EXISTED = new ErrorCode(1004002009, "港口编码不能为空");
}